//
//  MapDemoViewController.h
//  MapDemo
//
//  Created by grant on 12/1/09.
//  Copyright XMobileApp 2009. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>

@class MapMark;

@interface MapDemoViewController : UIViewController<MKMapViewDelegate> {
	IBOutlet MKMapView *mapView;
	IBOutlet UISegmentedControl *mapTypeControl;
	MapMark *mark;
}

@property (nonatomic, retain) MKMapView *mapView;
@property (nonatomic, retain) UISegmentedControl *mapTypeControl;

- (IBAction)changeMapType: (id)sender;

- (void)showDetails: (id)sender;
-(IBAction)OK;

@end

